package cn.silver.module.system.controller;

import cn.silver.framework.mybatis.controller.BaseController;
import cn.silver.module.system.domain.SysSocial;
import cn.silver.module.system.bean.SocialBean;
import cn.silver.module.system.param.SocialParam;
import cn.silver.module.system.service.ISysSocialService;
import io.swagger.v3.oas.annotations.tags.Tag;
import jakarta.annotation.Resource;
import lombok.RequiredArgsConstructor;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 社会化关系
 *
 * @author thiszhc
 */
@Validated
@RestController
@RequiredArgsConstructor
@Tag(name = "权限管理-社会化关系管理")
@RequestMapping("/system/social")
public class SysSocialController extends BaseController<ISysSocialService, SysSocial, SocialParam, SocialBean> {

    @Override
    @Resource
    public void setBaseService(ISysSocialService baseService) {
        this.baseService = baseService;
        this.setCode("authority:social");
        this.setTitle("权限管理-社会化关系管理");
    }
}
